package com.applcn.shop.constant;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * com.applcn.shop.constant
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-03-19 00:48
 */
public enum ShopBindStatusEnum implements IEnum<Integer> {

    /**
     * 禁用
     */
    OFF(0, "禁用"),

    /**
     * 启用
     */
    ON(1, "启用");

    private int code;

    private String desc;

    ShopBindStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return this.getCode();
    }
}
